package org.jeecg.modules.website.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 老师介绍表
 * @Author: jeecg-boot
 * @Date:   2024-12-07
 * @Version: V1.0
 */
@Data
@TableName("web_school_teacher")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="web_school_teacher对象", description="老师介绍表")
public class WebSchoolTeacher implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "教师姓名")
    private String name;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private String delFlag;
	/**专业主键*/
	@Excel(name = "专业主键", width = 15)
    @ApiModelProperty(value = "专业主键")
    private String majorId;
	/**教师简历*/
	@Excel(name = "教师简历", width = 15)
    @ApiModelProperty(value = "教师简历")
    private String resume;
	/**教师头像*/
	@Excel(name = "教师头像", width = 15)
    @ApiModelProperty(value = "教师头像")
    private String image;
	/**发布状态*/
	@Excel(name = "发布状态", width = 15, dicCode = "web_publish_status")
	@Dict(dicCode = "web_publish_status")
    @ApiModelProperty(value = "发布状态")
    private String publishStatus;
    /**浏览量*/
    @Excel(name = "浏览量", width = 15)
    @ApiModelProperty(value = "浏览量")
    private Integer readNum;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**专业名字*/
    @Excel(name = "专业名字", width = 15)
    @ApiModelProperty(value = "专业名字")
    private String majorName;
}
